<template>
<div>
  <j-select-biz-component
    :value="value"
    name="楼宇"
    displayKey="jian_zhu_ming_cheng"
    :returnKeys="returnKeys"
    :listUrl="url.list"
    :id='id'
    :columns="columns"
    queryParamText="建筑名称"
    v-on="$listeners"
    v-bind="$attrs"
  />
  {{id}}
</div>
</template>
<script> 
import JSelectBizComponent from './JSelectBizComponent'

export default {
  name: 'JSelectMultiLouyu',
  components: { JSelectBizComponent },
  props: ['value','id'],
  data() {
    return {
      returnKeys: ['id', 'jian_zhu_ming_cheng'],
      url: { list: `/online/cgform/api/getData/a770fd8f06cf476eb298dd3cadb21ba1` },
      columns: [
        { title: '建筑名称', dataIndex: 'jian_zhu_ming_cheng', align: 'center', width: 120 },
        { title: '编号', dataIndex: 'bian_hao', align: 'center', width: 120 }
      ]
    }
  }
}
</script>

<style lang="less" scoped></style>